﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    public enum Seat
    {
        Unknown,
        Left,
        Right
    }
    public enum StrategyType
    {
        Basic,
        Trap,
        Jackel
    }
    public class PlayerAction
    {
        public string PlayerId { get; set; }
        public int Round { get; set; }
        public ActionType Type { get; set; }
        public override bool Equals(System.Object a)
        {
            // If parameter is null return false.
            if (a == null)
            {
                return false;
            }

            // If parameter cannot be cast to Point return false.
            PlayerAction p = a as PlayerAction;
            if ((PlayerAction)p == null)
            {
                return false;
            }
            return (PlayerId == p.PlayerId && this.Round == p.Round && this.Type == p.Type);
        }
    }
    public enum ActionType
    {
        Fold,
        Check,
        Call,
        Raise
    }
}
